import unittest
from selenium import webdriver
import time
from WeekThree.page.page import Page
class Case(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.driver.maximize_window()
        print("初始化")

    def tearDown(self) -> None:
        self.driver.quit()
        time.sleep(3)
        print("关闭")

    def test_login_001(self):
        po = Page(self.driver)
        po.login_go("oo",'123456')

if __name__ == '__main__':
    unittest.main()
